<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../../../mui/css/mui.min.css">
    <link rel="stylesheet" href="../../../mui/css/mui.picker.min.css">
    <link rel="stylesheet" href="../../../mui/css/mui.poppicker.css">
    <link rel="stylesheet" href="../../../css/main.css">
    <link rel="stylesheet" href="../../../font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="../../../css/icons-extra.css">
    <script src="../../../js/jquery-3.2.1.min.js"></script>
    <script src="../../../mui/js/mui.min.js"></script>
    <script src="../../../mui/js/mui.picker.min.js"></script>
    <script src="../../../mui/js/mui.poppicker.js"></script>
    <script src="../../../js/ydui.flexible.js"></script>
    <link rel="stylesheet" href="../../../css/ydui.css?rev=@@hash">
    <!-- <link rel="stylesheet" href="../../../css/address.css"> -->
    <title>编辑-收货地址</title>
</head>

<body id="eidtAddress">
    <header class="mui-bar mui-bar-nav">
        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
        <h1 class="mui-title">编辑收货地址</h1>
        <a class="mui-pull-right heading-btn-right">保存</a>
    </header>
    <div class="AddressDetailPanel">
        <div class="mui-input-row">
            <input type="text" class="mui-input-clear" placeholder="收货人" value="杨鸿" data-input-clear="5">
            <span class="mui-icon mui-icon-clear"></span>
        </div>
        <div class="mui-input-row">
            <input type="text" class="mui-input-clear" placeholder="手机号" value="17687673989" data-input-clear="5"><span
                class="mui-icon mui-icon-clear mui-hidden"></span>
        </div>
        <div class="mui-input-row address-row">
            <input type="text" class="cell-input" street="" value="广西 南宁市 西乡塘区" readonly="" id="FNG_Address"
                placeholder="请选择收货地址">
            <span class="mui-icon mui-icon-arrowright"></span>
        </div>
        <div class="mui-input-row">
            <textarea id="moreaddress" rows="5" placeholder="请输入详细地址，精确到门牌号">大学东路101号</textarea>
        </div>
    </div>
    <div class="deleteAddress">
        <a>删除收货地址</a>
    </div>


</body>

</html>
<script type="text/javascript" src="../../../js/AdressData.js"></script>
<script type="text/javascript">
(function($, doc) {
	$.init();
	$.ready(function() {          
        var cityPicker3 = new $.PopPicker({
			layer: 4
		});
        cityPicker3.setData(adress_data);
        //cityPicker3.pickers[0].setSelectedValue('45',2000);
        //cityPicker3.pickers[1].setSelectedValue('4501',2000);
        //cityPicker3.pickers[2].setSelectedValue('450107',2000);
        //cityPicker3.pickers[3].setSelectedValue('450107007',2000);
		var showCityPickerButton = doc.getElementById('FNG_Address');
		var cityResult3 = doc.getElementById('showCityPicker3');
		showCityPickerButton.addEventListener('tap', function(event) {
			cityPicker3.show(function(items) {
                showCityPickerButton.value = (items[0] || {}).text + " " + (items[1] || {}).text + " " + (items[2] || {}).text + " " + (items[3] || {}).text;
                showCityPickerButton.setAttribute("provice",(items[0] || {}).value);
                showCityPickerButton.setAttribute("city",(items[1] || {}).value);
                showCityPickerButton.setAttribute("area",(items[2] || {}).value);
                showCityPickerButton.setAttribute("street",(items[3] || {}).value);
			});
		}, false);
	});
})(mui, document);
</script>